const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.getInfoState.staffPhoto, // 头像
  name: state => state.user.getInfoState.username, // 用户名
  id: state => state.user.getInfoState.userId // id
}
export default getters
